<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Nibiru - {% block title %}Social Platform{% endblock %}</title>
<link rel="stylesheet" href="{{ url.resource }}/css/reset.css" />
<link rel="stylesheet" href="{{ url.resource }}/css/grid.css" />
<link rel="stylesheet" href="{{ url.resource }}/css/text.css" />
<link rel="stylesheet" href="{{ url.resource }}/css/my.css" />
</head>
<body>

<div id="header" class="container_16">

    <div id="logo" class="grid_16">
        <h1><a href="{% url 'index' %}">Nibiru</a></h1>
    </div>
    <!-- end #logo -->

    <div class="clear"></div>

    <div class="grid_16">
        <div id="menu">
            <div class="grid_10">
                <ul class="nav" id="app-nav">
                    <li><a href="{% url 'index' %}">Home</a></li>
                    <li><a href="{% url 'user' %}">User</a></li>
                    <li><a href="{% url 'group' %}">Group</a></li>
                    <li><a href="{% url 'event' %}">Event</a></li>
                    <li><a href="{% url 'topic' %}">Topic</a></li>
                    <li><a href="{% url 'app' %}">More&raquo;</a></li>
                </ul>
            </div>

            <div class="grid_6" id="user-nav">
                <ul class="nav">
                    {% if current_user %}
                    <li><a href="{% url 'admin' %}">Manage</a></li>
                    <li><a href="{% url 'message' %}" class="icon_email">Messages</a></li>
                    <li><a href="{% url 'user/setting' %}">Settings</a></li>
                    <li><a href="{% url 'user/logout' %}">Logout</a></li>
                    {% else %}
                    <li><a href="{% url 'user/register' %}">Register</a></li>
                    <li><a href="{% url 'user/login' %}">Login</a></li>
                    {% endif %}
                </ul>
            </div>
            <div class="clear"></div>
        </div>
    </div>

    <div class="clear"></div>

</div><!-- end #header -->

<div id="content" class="container_16">
    {% block content %}{% endblock %}
    <div class="clear"></div>
</div><!-- end #content -->

<div id="footer" class="container_16">
    <div class="grid_16">
        <div id="copyright">
            &copy;2010 Nibiru
        </div>
    </div>
    <div class="clear"></div>
</div><!-- end #footer -->

</body>
</html>
